package com.ac.app.dm;

import com.ac.core.dm.BaseDm;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright AgileCentury 2004</p>
 * <p>Company: AgileCentury </p>
 * @author <a href="mailto:ac@agilecentury.com">Agile</a>
 * @version 1.0
 */

public class PickKeyword extends BaseDm {
	private static final long serialVersionUID = 1L;
	private String id;
    private String content;
    private String subCode;

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSubCode() {
        return this.subCode;
    }

    public void setSubCode(String subCode) {
        this.subCode = subCode;
    }

    protected int doHashCode() {
        return getHashCodeBuilder().append(id).toHashCode();
    }

    protected boolean doEquals(Object object) {
        PickKeyword other = (PickKeyword) object;
        return getEqualsBuilder().append(id, other.id).isEquals();
    }
}
